import { FC } from 'react'
import Select from './select'
import { SelectProps } from './config'
import Option, { SelectOptionProps } from './Option'

export * from './config'
export * from './select'

export type ISelectComponent = FC<SelectProps> & {
  Option: FC<SelectOptionProps>
}

const TransSelect = Select as ISelectComponent
TransSelect.Option = Option

export default TransSelect
